package com.xdcplus.web.common.pojo.dto.wip;

import com.xdcplus.mp.domain.oracle.Base;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import javax.validation.constraints.NotNull;
import java.io.Serializable;
import java.util.List;

/**
 * 打标管理表(WipMarking)表更新入参DTO类
 * 
 * @author Devin.sang
 * @since 2023-05-15 22:05:43
 */
@Data
@EqualsAndHashCode(callSuper = true)
@ApiModel(description = "")
@SuppressWarnings("serial")
public class WipMarkingDTO extends Base implements Serializable {
    private static final long serialVersionUID = -16554434970945626L;

    @NotNull(message = "标记花篮不能为空")
    @ApiModelProperty("标记花篮编码")
    private List<String> wipBoxs;

    @NotNull(message = "标记类型不能为空")
    @ApiModelProperty("3-实验工单(可混) 4-实验工单(不可混)")
    private Integer markTypeCode;

    @NotNull(message = "实验片数量不能为空")
    @ApiModelProperty("实验片数量")
    private Long prdCount;

    @NotNull(message = "实验片发起类型不能为空")
    @ApiModelProperty("发起类型 1-拆包发起 2-工序发起")
    private Integer markCreatedType;

    @NotNull(message = "发起工序不能为空")
    @ApiModelProperty("发起工序")
    private String startOpeCode;

    @NotNull(message = "提醒工序不能为空")
    @ApiModelProperty("提醒工序，有多个，逗号分隔，至少一个")
    private String warnOpeCodes;

    @ApiModelProperty("提醒人员")
    private List<Long> reminders;

}
